package entity;

public class Cart {
	private int cartid; 
	private int uid;    
	private int gid;
	private int shopnum;
	public Cart() {
		
	}
	public Cart(int uid,int gid,int shopnum) {
		super();
		this.uid = uid;
		this.gid = gid;
		this.shopnum = shopnum;
	}
	public int getCartid() {
		return cartid;
	}
	public void setCartid(int cartid) {
		this.cartid = cartid;
	}
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public int getGid() {
		return gid;
	}
	public void setGid(int gid) {
		this.gid = gid;
	}
	public int getShopnum() {
		return shopnum;
	}
	public void setShopnum(int shopnum) {
		this.shopnum = shopnum;
	}
	@Override
	public String toString() {
		return "Cart [cartid=" + cartid + ", uid=" + uid + ", gid=" + gid + ", shopnum=" + shopnum + "]";
	}
	
}
